package com.sy.dao.impl;

import com.sy.dao.BrandDao;
import com.sy.entity.Brand;

import java.util.List;

public class BrandDaoImpl extends AbstractDaoImpl implements BrandDao {
    @Override
    public List<Brand> getAllBrands() {
        return queryForList("select * from t_brand", Brand.class);
    }
}
